﻿/*
 * 
 * User: Gavin Mead
 * Date: 11/25/2009
 * Time: 1:41 PM
 * 
 * 
 */

using System;
using NUnit.Framework;

using GraphLibrary;

namespace GraphLibraryTests
{
    [TestFixture]
    public class BaseVertexTests
    {
        [Test]
        [Description("Verifies that setting a vertex value, returns the same value" +
                     "when using the IVertex.VertexData property")]
        public void VertexPropertyTest()
        {
            IVertex<int> v = new BaseVertex<int>();
            v.VertexData = 25;
            
            Assert.AreEqual(25, v.VertexData);
        }
        
    }
}
